ccR.Add_Rotation(
	3, 
	"Ankhy_BASIC_SV_Hunter",
	"BASIC Rotation.\n\n Made by Ankhy."
)
function Ankhy_BASIC_SV_Hunter()
		if not ccR.Player.HasBuff(TRAP_LAUNCHER) and ccR.Spell.IsReady(TRAP_LAUNCHER) then ccR.Cast.Spell(TRAP_LAUNCHER) end
	if (ccR.Player.IsInCombat() or (ccR.Player.IsInGroup() and ccR.Target.IsInCombat())) and ccR.Target.Is.Attackable() then
		if ccR.Target.Count(8) > 4 and ccR.Spell.IsReady("Multi-Shot") then ccR.Cast.Attack("Multi-Shot") end
		if ccR.Spell.IsReady("Explosive Shot") then ccR.Cast.Attack("Explosive Shot") end
		if ccR.Spell.IsReady("A Murder of Crows") then ccR.Cast.Attack("A Murder of Crows") end
		if ccR.Spell.IsReady("Black Arrow") and ccR.Spell.CanAttack("Black Arrow") then ccR.Cast.Attack("Black Arrow") end
		if ccR.Spell.IsReady("Explosive Trap") then ccR.Cast.AoE("Explosive Trap", "target", 40, 8) end
		if ccR.Spell.IsReady("Barrage") and ccR.Spell.CanAttack("Barrage") then ccR.Cast.Attack("Barrage") end
		if ccR.Spell.IsReady("Glaive Toss") then ccR.Cast.Attack("Glaive Toss") end
		if ccR.Target.Count(8) >= 3 and ccR.Spell.IsReady("Multi-Shot") then ccR.Cast.Attack("Multi-Shot") end
		if ccR.Target.Count(8) < 3 and ccR.Spell.IsReady("Arcane Shot") and ccR.Spell.CDDuration("Explosive Shot") > 2 and ccR.Spell.CDDuration("Barrage") > 2 and ccR.Spell.CDDuration("Glaive Toss") > 2 and ccR.Spell.CanAttack("Arcane Shot") then ccR.Cast.Attack("Arcane Shot") end
		if ccR.Spell.IsReady("Cobra Shot") and ccR.Spell.CanAttack("Cobra Shot") then ccR.Cast.Attack("Cobra Shot") end
	end	
end
